package dborm

import (
	"time"
)

//Userserver struct
type Userserver struct {
	UUID       string    `xorm:"not null pk TEXT 'UUID'"`
	MqttConfID string    `xorm:"not null index TEXT 'mqtt_conf_id'"`
	UserID     string    `xorm:"not null index TEXT 'user_id'"`
	CreatedAt  time.Time `xorm:"created"`
	UpdatedAt  time.Time `xorm:"updated"`
	DeletedAt  time.Time `xorm:"deleted"`
	//Constraint  string `xorm:""fk_userServer_tcpConf_1""`
	//References  string `xorm:""tcpConf""`
	//Constraint  string `xorm:""fk_userServer_tcpConf_1""`
	//References  string `xorm:""tcpConf""`
	//string      `xorm:""`
}
